package summer_vacation.qiuyangyang;

/**
 * Created by Administrator on 2015/8/26 0026.
 */
public class Assignment_08 {
    public static void main(String[] args){
    for(int i=100;i<1000;i++){
        int b=i%10;
        int c=(i/10)%10;
        int d=(i/100)%10;
        if(i==b*b*b+c*c*c+d*d*d){
            System.out.println("" +i);
        }
    }
}
}
